<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>伪类选择器</title>
    <style>
        div{
            margin: 40px;
        }

        img:active{
            margin-top: -30px;
            margin-left: 50px;
            width: 800px;
        }
    </style>
</head>
<body>
    <div>
        <img src="../../image/log.png" alt="图片正在加载">
    </div>
</body>
</html>